﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IMCOM.Imagiality.Core
{

    public abstract class Scanner
    {
        protected ScannerConfiguration configurations;

        public ScanResult Scan()
        {
            ScanResult raw = DoScan();
            return configurations.ScanResultProcessor.Process(raw);
        }

        protected abstract ScanResult DoScan();
    }
}
